package org.lds.hotkey.console.business.currhotkey.model.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.StringUtils;
import org.lds.hotkey.common.model.pojo.OrderBy;

import java.io.Serializable;

/**
 * 条件查询 - 请求
 *
 * @author lidongsheng
 * @since 2024-07-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class CurrHotKeyBaseListRequest extends OrderBy implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
    * app主键
    */
    private Long appId;

    /**
    * key
    */
    private String key;

    public void setKey(String key) {
        this.key = StringUtils.trimToNull(key);
    }

}
